﻿using Rescue_of_the_Dwarvenzombies.SceneObjects.GameObjects.Characters.Enemies;

namespace Rescue_of_the_Dwarvenzombies.SceneObjects.SceneObjectsHandlers
{
    /// <summary>
    /// Used for classes listening to when an enemy dies
    /// </summary>
    public interface IEnemyObserver
    {
        /// <summary>
        /// called when the specified enemy is dead.
        /// </summary>
        /// <param name="enemy">The enemy.</param>
        void IsDead(Enemy enemy);
    }
}